package com.chixing.day07_abstract;

public class ToStringDemo {
    public static void main(String[] args) {
        Company company = new Company(10,"华为","民营企业","苏州",5345L);
        System.out.println(company);//“com.chixing.day07_abstract.Company”类全限定名（类全名）
                                    // “com.chixing.day07_abstract.Company@1b6d3586”类全限定名（类全名）
        System.out.println(company.toString());//重写 Object.toString
    }
}
